<%@ page language="java" contentType="text/html; charset=utf-8"
	pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> 
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>比赛对阵比分记录</title>
<meta name="viewport"
	content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">

<!--标准mui.css-->
<link href="/match/css/login/mui.min.css" rel="stylesheet" />
<link href="/match/css/matchList/app.css" rel="stylesheet" />
<script src="/match/libs/mui/mui.min.js"></script>
<script src="/match/libs/jquery/3.2.1/jquery-3.2.1.js"></script>
<!--App自定义的css-->

<style>
			html,
			body {
				background-color: #efeff4;
			}
			p {
				text-indent: 22px;
			}
			span.mui-icon {
				font-size: 14px;
				color: #007aff;
				margin-left: -15px;
				padding-right: 10px;
			}
			.mui-off-canvas-left {
				color: #fff;
			}
			.title {
				margin: 35px 15px 10px;
			}
			.title+.content {
				margin: 10px 15px 35px;
				color: #bbb;
				text-indent: 1em;
				font-size: 14px;
				line-height: 24px;
			}
			input {
				color: #000;
			}
		</style>
</head>
<body>
		<div id="offCanvasWrapper" class="mui-off-canvas-wrap mui-draggable">
			<!--侧滑菜单部分-->
			<aside id="offCanvasSide" class="mui-off-canvas-left">
				<div id="offCanvasSideScroll" class="mui-scroll-wrapper">
					<div class="mui-scroll">
						<div class="title">比赛执裁</div>
						<div class="content">
							如果有任何疑问，如弃权、弃赛等可以随时请求主裁帮助。
							<p style="margin: 10px 15px;">
								<button id="offCanvasHide" type="button" class="mui-btn mui-btn-danger mui-btn-block" style="padding: 5px 20px;">呼叫主裁</button>
							</p>

						</div>
						<div class="title" style="margin-bottom: 25px;">裁判功能列表</div>
						<ul class="mui-table-view mui-table-view-chevron mui-table-view-inverted">
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">
									队员信息
								</a>
							</li>
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">
									换人
								</a>
							</li>
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">
									换场
								</a>
							</li>
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">
									历史比分
								</a>
							</li>
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">
									消息通知
								</a>
							</li>
							<li class="mui-table-view-cell">
								<a class="mui-navigate-right">
									返回对阵列表
								</a>
							</li>
						</ul>
					</div>
				</div>
			</aside>
			<!--主界面部分-->
			<div class="mui-inner-wrap">
				<header class="mui-bar mui-bar-nav">
					<a href="#offCanvasSide" class="mui-icon mui-action-menu mui-icon-bars mui-pull-left"></a>
					
					<h1 class="mui-title">比赛执裁-A8场地</h1>
				</header>
				<div id="offCanvasContentScroll" class="mui-content mui-scroll-wrapper">
					<div class="mui-card">
						
						<div class="mui-card-content" style="height: 150px; ">
							<div class="mui-card-content-inner">
							<div style="float:left;">
							<p style="font-size: 16px;">深圳聚点球会一队</p>
							<p style="font-size: 30px;margin-top: 30px;">林丹1</p>
							<p style="font-size: 30px;margin-top: 30px;">林丹2</p>
							</div>
							<div style="float:right;"></div>								
								<p style="font-size: 16px;margin-top: 20px;">湖南谁与争锋三队</p>
								<p style="font-size: 30px;margin-top: 30px;">李宗伟1<img alt="发球" src="/match/images/match/ymq.jpg" height="24px;"></p>
								<p style="font-size: 30px;margin-top: 30px;">李宗伟2</p>
							</div>
						</div>
						
					</div>
					<div class="mui-card">						
						<div class="mui-card-content">
							<div class="mui-card-content-inner">
								<p style="float:left;">已用时间：16:55 </p><p style="float:right;margin-right: 10px;">暂停时间：01:33</p>							
							</div>
						</div>						
					</div>
					<div class="mui-card" style="height: 190px;">						
						<div class="mui-card-content">
							<div class="mui-card-content-inner"  >
								<p style="float:left;font-size: 120px;margin-top: 80px;margin-left: -10px;">15 </p><p style="float:right;margin-right: 10px;font-size: 120px;margin-top: 80px;">17</p>
								<p>&nbsp;<p>
								<p style="float:left;margin-top: 20px;color:blue;">撤销 </p><p style="float:right;margin-right: 10px;margin-top: 20px;color:blue;">撤销</p>							
							</div>
						</div>						
					</div>
					<div style="margin-top: 10px;">
								<button type="button" class="mui-btn mui-btn-primary" style="width:180px;margin-left: 50px;height: 50px;">
									结束比赛
							</button>	
							<button type="button" class="mui-btn mui-btn-warning" style="width:80px;height: 50px;">
									暂停
							</button>					
							
										
					</div>
				</div>
				<!-- off-canvas backdrop -->
				<div class="mui-off-canvas-backdrop"></div>
			</div>
		</div>
		<script src="../js/mui.min.js"></script>
		<script>
			mui.init();
			 //侧滑容器父节点
			var offCanvasWrapper = mui('#offCanvasWrapper');
			 //主界面容器
			var offCanvasInner = offCanvasWrapper[0].querySelector('.mui-inner-wrap');
			 //菜单容器
			var offCanvasSide = document.getElementById("offCanvasSide");
			if (!mui.os.android) {
				document.getElementById("move-togger").classList.remove('mui-hidden');
				var spans = document.querySelectorAll('.android-only');
				for (var i = 0, len = spans.length; i < len; i++) {
					spans[i].style.display = "none";
				}
			}
			 //移动效果是否为整体移动
			var moveTogether = false;
			 //侧滑容器的class列表，增加.mui-slide-in即可实现菜单移动、主界面不动的效果；
			var classList = offCanvasWrapper[0].classList;
			 //变换侧滑动画移动效果；
			 offCanvasSide.classList.remove('mui-transitioning');
					offCanvasSide.setAttribute('style', '');
					classList.remove('mui-slide-in');
					classList.remove('mui-scalable');
					classList.add('mui-slide-in');
					offCanvasWrapper.offCanvas().refresh();
			/* mui('.mui-input-group').on('change', 'input', function() {
				if (this.checked) {
					offCanvasSide.classList.remove('mui-transitioning');
					offCanvasSide.setAttribute('style', '');
					classList.remove('mui-slide-in');
					classList.remove('mui-scalable');
					switch (this.value) {
						case 'main-move':
							if (moveTogether) {
								//仅主内容滑动时，侧滑菜单在off-canvas-wrap内，和主界面并列
								offCanvasWrapper[0].insertBefore(offCanvasSide, offCanvasWrapper[0].firstElementChild);
							}
							break;
						case 'main-move-scalable':
							if (moveTogether) {
								//仅主内容滑动时，侧滑菜单在off-canvas-wrap内，和主界面并列
								offCanvasWrapper[0].insertBefore(offCanvasSide, offCanvasWrapper[0].firstElementChild);
							}
							classList.add('mui-scalable');
							break;
						case 'menu-move':
							classList.add('mui-slide-in');
							break;
						case 'all-move':
							moveTogether = true;
							//整体滑动时，侧滑菜单在inner-wrap内
							offCanvasInner.insertBefore(offCanvasSide, offCanvasInner.firstElementChild);
							break;
					}
					offCanvasWrapper.offCanvas().refresh();
				}
			}); */
			 //主界面‘显示侧滑菜单’按钮的点击事件
			document.getElementById('offCanvasShow').addEventListener('tap', function() {
				offCanvasWrapper.offCanvas('show');
			});
			 //菜单界面，‘关闭侧滑菜单’按钮的点击事件
			document.getElementById('offCanvasHide').addEventListener('tap', function() {
				offCanvasWrapper.offCanvas('close');
			});
			 //主界面和侧滑菜单界面均支持区域滚动；
			mui('#offCanvasSideScroll').scroll();
			mui('#offCanvasContentScroll').scroll();
			 //实现ios平台原生侧滑关闭页面；
			if (mui.os.plus && mui.os.ios) {
				mui.plusReady(function() { //5+ iOS暂时无法屏蔽popGesture时传递touch事件，故该demo直接屏蔽popGesture功能
					plus.webview.currentWebview().setStyle({
						'popGesture': 'none'
					});
				});
			}
		</script>
	</body>
</html>